package yuanshen;

public class  Aniaml {
    private String name;

    public Aniaml(String name){
        this.name=name;
    }

    //吃
    public void eat(){

    }
    //喝水
    public void drink(){
        System.out.println(name+"在喝水！");
    }
}
